package com.liu.mybatisPlus.poke.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liu.mybatisPlus.poke.entity.base.PokeGroupUserPoke;
import com.liu.mybatisPlus.poke.mapper.PokeGroupUserPokeMapper;
import com.liu.mybatisPlus.poke.service.PokeGroupUserPokeService;
import com.liu.qqRobot.poke.entity.dto.PokeDTO;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LiuChengLong
 * @since 2025-04-01
 */
@Service
public class PokeGroupUserPokeServiceImpl extends ServiceImpl<PokeGroupUserPokeMapper, PokeGroupUserPoke> implements PokeGroupUserPokeService {

    @Override
    public PokeDTO getPokeByUserIdAndPokeName(Long groupId, Long userId, String pokeName) {
        return baseMapper.getPokeByUserIdAndPokeName(groupId, userId, pokeName);
    }

    @Override
    public PokeDTO getPokeByUserIdAndPokeId(Long groupId, Long userId, Integer pokeId) {
        return baseMapper.getPokeByUserIdAndPokeId(groupId, userId, pokeId);
    }
}
